import re
pattern = r'mr_\w'
string = '项目名称：MR_SHOP me_shop'
match = re.search(pattern, string, re.I)
print(match)
print("起始位置：", match.start())
print("结束位置：", match.end())
print("匹配数据:", match.group())